import { get, post, formData } from "@/api/services/formReq";

// 数据资产盘库表列表
export const dataLibraryLists = params => post("/v1/dataLibrary/lists", params);

// 查询配置项
export const configurationItemsFind = params => post("/v1/configurationItems/find", params);

// 数据项数据列表
export const chidataItemslist = params => post("/v1/chidata/itemslist", params);

// 根据数据项查询数据级别和敏感度
export const childataItems = params => post("/v1/childata/items", params);

// 数据来源下拉
export const appidSelect = params => post("/v1/appid/select", params);

//rpa删除
export const rpaDelete = params => post("/v1/rpa/delete", params);

// 我的任务
export const taskList = params => post("/v1/task/task", params);
export const taskListNew = params => post("/v1/task/taskList", params);

// 数据等级列表
export const dataList = params => post("/data/lists", params);

// 数据等级创建
export const dataCreate = params => post("/data/create", params);

// 数据等级修改
export const dataChange = params => post("/data/change", params);

// 数据等级删除
export const dataDelete = params => post("/data/delete", params);

// 数据等级详情
export const dataDetails = params => post("/data/list", params);

// 敏感度等级列表
export const sensitivityList = params => post("/sensitivity/lists", params);

// 敏感度等级新增
export const sensitivityCreate = params => post("/sensitivity/create", params);

// 敏感度等级修改
export const sensitivityChange = params => post("/sensitivity/change", params);

// 敏感度等级详情
export const sensitivityDetails = params => post("/sensitivity/list", params);

// 敏感度等级详情
export const sensitivityDelete = params => post("/sensitivity/delete", params);

// 数据保护等级列表
export const protectionLists = params => post("/protection/lists", params);

// 数据保护等级新增
export const protectionCreate = params => post("/protection/create", params);

// 数据保护等级修改
export const protectionChange = params => post("protection/change", params);

// 数据保护等级详情
export const protectionDetials = params => post("/protection/list", params);

// 数据保护等级删除
export const protectionDelete = params => post("/protection/delete", params);

// 数据分类分级树状图表
export const sourceTree = params => post("/source/tree", params);

// 分类分级树状图数据rpa
export const sourceTreerpa = params => get("/source/tree/rpa", params);

// 数据分类分级统计列表
export const sourceLabelList = params => post("/source/label/list", params);

// RPA的列表
export const rpaLists = params => post("/v1/rpa/list", params);

// RPA详情
export const rpaDetail = params => post("/v1/rpa/detail", params);

// RPA 统计数据详情
export const rpaStatisticalDetail = params => post("/v1/rpa/statisticalData", params);

// RPA 数据资产下拉
export const rpaSelectAssetName = params => post("/v1/rpa/selectAssetName", params);
//RPA复制
export const rpCopy = params => post("/v1/rpa/copy", params);
//RPA表格导出
export const rpExcel = params => post("/v1/rpa/export", params);
//RPa删除
export const rpaDelcsai=params=>post("/v1/rpa/delete",params);
